using System;
namespace IcsSEMCtrl.Device.Observe
{
    public class ObservableChangeEventWrapper : MarshalByRefObject
    {
        public delegate void DelegateObservableEvent(object sender);
        public event DelegateObservableValueChanged WrappedObservableValueChanged = null;

        public void WrapperObservableValueChanged(object sender, object value)
        {
            if (this.WrappedObservableValueChanged != null)
            {
                this.WrappedObservableValueChanged(sender, value);
            }
        }

        public override object InitializeLifetimeService()
        {
            return null;
        }
    }
}
